//刘晶晶接口
import Mock from 'mockjs'
//  接口名  /home
// 参数1 接口的正则表达式，注意正则没有引号
// 参数2  请求类型  get post put delete
// 参数3 就是返回给前端的数据
import ljjdata from './ljjdata'
import ljdata from './ljdata'
Mock.mock(/\/liujingjing/,'get',ljjdata.getLjjData)
//删除单个接口
Mock.mock(/\/deleteById/,'post',ljjdata.deleteId)
//删除多个接口
Mock.mock(/\/deleteManyById/,'post',ljjdata.deleteManyById)
//新增接口
Mock.mock(/\/AddMessage/,'post',ljjdata.AddMessage)
//更新接口
Mock.mock(/\/editorHandle/,'post',ljjdata.UpdateMessage)

//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//获取数据
Mock.mock(/\/liujj/,'get',ljdata.getLjData)
//删除接口
Mock.mock(/\/liujjDelete/,'post',ljdata.deleteLjData)
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Mock.mock(/\/num/,'get',ljdata.getNumData)

